<?php
/**
 *
 * PHP versions 4 and 5
 *
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
 * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @copyright     Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
 * @link          http://cakephp.org CakePHP(tm) Project
 * @package       cake
 * @subpackage    cake.cake.console.libs.templates.skel.views.layouts
 * @since         CakePHP(tm) v 0.10.0.1076
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 */
?>
<!DOCTYPE html>
<html lang="en">
<head>
	<?php echo $this->Html->charset(); ?>
	<title>
		<?php __('CakePHP: the rapid development php framework:'); ?>
		<?php echo $title_for_layout; ?>
	</title>
	<meta charset="utf-8">
    <meta name="description" content="SimpliQ - Flat & Responsive Bootstrap Admin Template.">
    <meta name="author" content="Lukasz Holeczek">
    <meta name="keyword" content="SimpliQ, Dashboard, Bootstrap, Admin, Template, Theme, Responsive, Fluid, Retina">
    <!-- end: Meta -->
    
    <!-- start: Mobile Specific -->
    <meta name="viewport" content="width=device-width, initial-scale=1">
	<?php
		echo $this->Html->meta('icon');

		 echo $this->Html->css('cake.generic');
		echo $this->Html->css('bootstrap.min');
		echo $this->Html->css('style.min');
		 echo $this->Html->css('retina.min');
		echo $this->Html->css('font-awesome-ie7.min');
		echo $this->Html->css('font-awesome.min');
		echo $this->Html->css('my_styles');
		// // ghi ten khong ghi duo file

		echo $this->Html->script('modernizr.js');
		echo $this->Html->script('jquery-1.11.0.min.js');
		echo $this->Html->script('respond.min.js');
		echo $this->Html->script('jquery-migrate-1.2.1.min.js');
		echo $this->Html->script('bootstrap.min.js');
		echo $this->Html->script('jquery-ui-1.10.3.custom.min.js');

		echo $this->Html->script('jquery.ui.touch-punch.min.js');
		echo $this->Html->script('jquery.sparkline.min.js');
		echo $this->Html->script('jquery.chosen.min.js');
		echo $this->Html->script('fullcalendar.min.js');
		//echo $this->Html->script('calendar.js');
		echo $this->Html->script('jquery.cleditor.min.js');

		echo $this->Html->script('fullcalendar.min.js');
		echo $this->Html->script('jquery.flot.min.js');
		echo $this->Html->script('jquery.flot.pie.min.js');
		echo $this->Html->script('jquery.flot.stack.min.js');
		echo $this->Html->script('jquery.flot.resize.min.js');
		echo $this->Html->script('jquery.flot.time.min.js');

		echo $this->Html->script('jquery.autosize.min.js');
		echo $this->Html->script('jquery.placeholder.min.js');
		echo $this->Html->script('bootstrap-datepicker.min.js');
		echo $this->Html->script('bootstrap-timepicker.min.js');
		echo $this->Html->script('jquery.maskedinput.min.js');
		echo $this->Html->script('jquery.inputlimiter.1.3.1.min.js');

		echo $this->Html->script('jquery.uploadify.min.js');
		echo $this->Html->script('custom.min.js');
		echo $this->Html->script('core.min.js');
		//echo $this->Html->script('index.js');
		echo $this->Html->script('moment.min.js');
		echo $this->Html->script('daterangepicker.js');
		
		echo $this->Html->script('daterangepicker.min.js');
		echo $this->Html->script('jquery.hotkeys.min.js');
		echo $this->Html->script('bootstrap-wysiwyg.min.js');
		echo $this->Html->script('bootstrap-colorpicker.min.js');
		echo $this->Html->script('jquery.dataTables.min.js');
		echo $this->Html->script('dataTables.bootstrap.min.js');

		 echo $this->Html->script('pages/table.js');
		 echo $this->Html->script('dropzone.min.js');
		echo $this->Html->script('pages/form-dropzone.js');
		echo $this->Html->script('pages/form-elements.js');
		echo $this->Html->script('pages/form-wizard.js');
		 echo $this->Html->script('wizard.min.js');
		 echo $this->Html->script('pages/calendar.js');
		echo $scripts_for_layout;

		
	?>
</head>
<body>
	
		<div id="header" style="padding-top:0px">
			<div class="container-fluid">
				<div class="row" style="background:url('<?php echo $this->webroot; ?>img/banner1_background.jpg') repeat-x;">
		<div class="col-md-12">
			<div class="col-md-2"></div>
			<div class="col-md-8" align="right"  style="background:url('<?php echo $this->webroot; ?>img/banner1.jpg'); height:120px; width: 990px; padding-top: 15px">	
				<div class="col-md-6"></div>	
				<div class="col-md-6" align="right">
					&nbsp;&nbsp;<button type="submit" type="button" class="btn btn-success btn-sm"><span class="icon-exclamation-sign"></span>&nbsp; Hướng dẫn</span></button>
					<button type="submit" type="button" class="btn btn-danger btn-sm"><span class="icon icon-off"></span><?php echo $html->link('Thoát ra', array('controller'=>'users', 'action'=>'logout'));?></span></button>  
					<br/>  
					<div style="padding-top:5px" align="right"><button type="submit" type="button" class="btn btn-info btn-sm"><span class="icon-home"></span>&nbsp;Trang chủ</span></button> </div>
					<div style="padding-top:1px" align="right">
						<h6 style="text-align:right; font-size:smaller;font-weight: bold; color: #FFF;">Xin chào, <?php echo $curUser['User']['username']?></div>
				</div>
			</div>

		</div> 
		</div>
			</div>	
		</div>
	</div>
		<div id="content">
			<div class="container">

            <div class="row">
                <div class="col-md-1">  
                </div>
                <div class="col-md-10">
                    <?php echo $this->Session->flash(); ?>

					<?php echo $content_for_layout; ?>
                </div>
                <div class="col-md-1">  
                </div>
            </div>
        </div>

			

		</div>
		<div id="footer">
			<div class="container">
	<div class="row" style="font-size:12px">
	<hr/>
		<div class="col-md-1">	
		</div>
		
		<div class="col-md-5" align="left" style="padding-left:50px">
			<p>
				Trường Đại học Cần Thơ<br/>
				Khu II, đường 3/2, phường Xuân Khánh, quận Ninh Kiều, TP. Cần Thơ<br/>
				Điện thoại: 0710.383.2663 - 0710.383.8474; Fax: 0710.383.8474<br/>
				Website: <a href='http://www.ctu.edu.vn/'>www.ctu.edu.vn</a>; Email: <a href='mailto:dhct@ctu.edu.vn'>dhct@ctu.edu.vn</a>
			</p>
		</div>
		<div class="col-md-5" align="right">
			<table class="table" style="font-size:11px; text-align:right">
				<tr>
					<td><a href='#'>KHOA SAU ĐẠI HỌC</a></td>
					<td><a href='#'>PHÒNG ĐÀO TẠO</a></td>
					<td><a href='#'>TRUNG TÂM LIÊN KẾT ĐÀO TẠO</a></td>
				</tr>
				<tr>
					<td><a href='#'>THƯ ĐIỆN TỬ</a></td>
					<td><a href='#'>LỊCH TRƯỜNG</a></td>
					<td><a href='#'>HỆ THỐNG QUẢN LÝ ĐÀO TẠO</a></td>
				</tr>
			</table>
		</div>

		<div class="col-md-1">	
		</div>

	</div>
</div>
		</div>
	</div>
	<?php echo $this->element('sql_dump'); ?>
</body>
</html>